#!/usr/bin/env python
#-*- coding:utf-8 -*- 

import matplotlib.pyplot as plt
import numpy as np

a = np.random.randint(-2,3, size=(2,500))
b = a.cumsum(1)

plt.figure()
plt.plot(b[0,:], b[1,:])
plt.show()